<%@page import="model.bean.Account"%>
<%@page import="common.Privilege"%>

<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Travel</title>
<!-- BOOTSTRAP STYLES-->
<link href="${pageContext.request.contextPath}/assets/css/bootstrap.css"
	rel="stylesheet" />
<!-- FONTAWESOME STYLES-->
<link
	href="${pageContext.request.contextPath}/assets/css/font-awesome.css"
	rel="stylesheet" />
<!-- MORRIS CHART STYLES-->
<link
	href="${pageContext.request.contextPath}/assets/js/morris/morris-0.4.3.min.css"
	rel="stylesheet" />
<!-- CUSTOM STYLES-->
<link href="${pageContext.request.contextPath}/assets/css/custom.css"
	rel="stylesheet" />
<!-- GOOGLE FONTS-->
<link href='http://fonts.googleapis.com/css?family=Open+Sans'
	rel='stylesheet' type='text/css' />
</head>
<%
	String fullName = "";
	Account account = (Account) session.getAttribute("account");
	if (account != null) {
		fullName = account.getName();
	}
%>
<div id="wrapper">
	<nav class="navbar navbar-default navbar-cls-top " role="navigation"
		style="margin-bottom: 0">
	<div class="navbar-header">
		<a class="navbar-brand" href="#"></a>
	</div>
	<div
		style="color: rgb(255, 3, 23); padding: 5px 5px; float: left; width: 50%; font-size: 1.5em;">
		<marquee behavior="alternate">Da Nang Travel - Website quản
			trị</marquee>
	</div>
	<div
		style="color: white; padding: 15px 30px 15px 10px;; float: right; font-size: 16px;">
		Xin chào admin: &nbsp;
		<div class="btn-group">
			<button class="btn btn-primary"><%=fullName%></button>
			<button data-toggle="dropdown"
				class="btn btn-primary dropdown-toggle">
				<span class="caret"></span>
			</button>
			<ul class="dropdown-menu" style = "margin-left: -20px;">
				<li><a
					href="${pageContext.request.contextPath}/administrator/changepass.jsp">Thay
						đổi mật khẩu</a></li>
				<li><a
					href="${pageContext.request.contextPath}/administrator/profile.jsp">Xem
						thông tin cá nhân</a></li>
				<li class="divider"></li>
				<li><a href="${pageContext.request.contextPath}/LogoutServlet">
						Thoát </a></li>
			</ul>
		</div>
	</div>
	</nav>
	<div id = "tier2">
	<div id = "left">
	<nav class="navbar-default navbar-side" role="navigation">
	<div class="sidebar-collapse">
		<ul class="nav" id="main-menu">
			<li class="text-center"><img
				src="${pageContext.request.contextPath}/administrator/images/IMG_0865.JPG"
				class="user-image img-responsive" /></li>
			<li><a class="active-menu" href="profile.jsp"><i
					class="fa fa-home fa-3x"></i> Trang chủ</a></li>
			<li><a href="#"><i class="fa  fa-list-ul fa-3x"></i> Danh
					sách tài khoản </a>
				<ul class="nav nav-second-level">
					<li><a
						href="${pageContext.request.contextPath}/ManageAccountServlet?action=getListAccount&code=0">Tất
							cả</a></li>
					<li><a
						href="${pageContext.request.contextPath}/ManageAccountServlet?action=getListAccount&code=1">Tài
							khoản quản trị</a></li>
					<li><a href="#">> Tài khoản quản lý</a>
						<ul class="nav nav-third-level">
							<li><a
								href="${pageContext.request.contextPath}/ManageAccountServlet?action=getListAccount&code=2">Quản
									lý tuor du lịch</a></li>
							<li><a
								href="${pageContext.request.contextPath}/ManageAccountServlet?action=getListAccount&code=3">Quản
									lý dịch vụ du lịch</a></li>
							<li><a
								href="${pageContext.request.contextPath}/ManageAccountServlet?action=getListAccount&code=4">Quản
									lý tin tức</a></li>
							<li><a
								href="${pageContext.request.contextPath}/ManageAccountServlet?action=getListAccount&code=5">Tiếp
									cận khách hàng</a></li>
						</ul>
					</li>
				</ul>
			</li>
			<li><a
				href="${pageContext.request.contextPath}/administrator/addnewaccount.jsp"><i
					class="fa fa-plus-circle fa-3x"></i> Thêm tài khoản</a></li>
	</div>
	</nav>
	</div> <!--  End #left -->
	<div id="right">